package io.renren.modules.dictionary.dao;

import io.renren.modules.dictionary.entity.DictionaryCustomEntity;
import io.renren.modules.dictionary.entity.DictionaryEntity;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-10-17 14:15:28
 */
@Mapper
public interface DictionaryDao extends BaseDao<DictionaryEntity> {
    List<DictionaryCustomEntity> queryListByTypeName(Map<String, Object> map);

    int queryByTypeNameTotal(Map<String, Object> map);

    List<DictionaryEntity> searchByTypename(String typename);

    void deleteBatchByDicTypeId(Integer dictypeid);

    int queryTypeId(Map<String, Object> map);

    DictionaryEntity queryObjectByDateTypeName(String dateTypeName);

    void updateByDataTypeName(DictionaryEntity dictionaryEntity);
}
